package ${domain}.module.wsys.ent;

import ${domain}.frame.base.BaseEntity;
import com.alibaba.excel.annotation.ExcelProperty;
import ${domain}.frame.excel.annotation.ExcelNote;
import ${domain}.frame.excel.annotation.ExcelSheet;

/**
 * DICT_ITEM - 字典项
 *
 * @author wangbing
 * @version 0.0.1
 * @since 2017-01-01
 */
@ExcelSheet("字典项")
public class DictItem extends BaseEntity {

    /**
     * DICT_NAME - 字典名称
     */
    @ExcelProperty("字典名称")
    @ExcelNote("字典名称")
    private String dictName;

    /**
     * KEY - 字典枚举
     */
    @ExcelProperty("字典枚举")
    @ExcelNote("字典枚举一般使用数字或字母 01,02... A,B...")
    private String key;

    /**
     * VALUE - 字典描述
     */
    @ExcelProperty("字典描述")
    @ExcelNote("字典描述一般是实际意思字符或文字\n 长度在(1-100)之间")
    private String value;

    /**
     * SORT - 排序
     */
    @ExcelProperty("字典排序值")
    @ExcelNote("用于标识字典描述排列顺序、必须为数字")
    private Integer sort;

    /**
     * VALID - 是否有效
     */
    @ExcelProperty("是否有效")
    @ExcelNote("用于标识该字典项是否有效")
    private Boolean valid;

    public String getDictName() {
        return this.dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getKey() {
        return this.key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return this.value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Integer getSort() {
        return this.sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Boolean getValid() {
        return this.valid;
    }

    public void setValid(Boolean valid) {
        this.valid = valid;
    }
}